package com.swak.rpc.config;

import java.util.Map;

import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * ProtocolConfig.
 * 
 * @author lifeng
 */
@Getter
@Setter
@Accessors(chain = true)
public class ProtocolConfig extends AbstractConfig {

	private static final long serialVersionUID = 1L;

	private String name;
	private String host;
	private Integer port;
	private String threadpool;
	private String threadname;
	private Integer corethreads;
	private Integer threads;
	private Integer iothreads;
	private Integer alive;
	private Integer queues;
	private Integer accepts;
	private String serialization;
	private Integer maxPayload;
	private Integer buffer;
	private Integer heartbeat;
	private String dispatcher;
	private Map<String, String> parameters;
}
